x11/surface: Move the scattered compute-size calls to helper
authorJonas Ådahl <jadahl@gmail.com>
Sat, 5 Dec 2020 10:38:17 +0000 (11:38 +0100)
committerJonas Ådahl <jadahl@gmail.com>
Mon, 7 Dec 2020 19:37:29 +0000 (20:37 +0100)
commit994aa41ccc5fd92ddb9014cf8cbffbd7f9f04056
treef69bff9466050b45b1b5266d118d143a66dc35b0
parentc791185c20c90d0bc3d2a7d329834bd4a81800a9
x11/surface: Move the scattered compute-size calls to helper

This simplifies things, and fixes issue where we'd resize the wrong
time, and miss resizing other times.
gdk/x11/gdksurface-x11.c